package com.ir.slassm.vo;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
public class NameValueVO {
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long NameValueId;
	
	@Persistent
	private String keyGroup;
	
	@Persistent
	private String keyName;
	
	@Persistent
	private String keyValue;

	public static NameValueVO createDefaultInstance() {
		NameValueVO vo = new NameValueVO();
		return vo;
	}
	
	public Long getNameValueId() {
		return NameValueId;
	}

	public void setNameValueId(Long nameValueId) {
		NameValueId = nameValueId;
	}

	public String getKeyGroup() {
		return keyGroup;
	}

	public void setKeyGroup(String keyGroup) {
		this.keyGroup = keyGroup;
	}

	public String getKeyName() {
		return keyName;
	}

	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}

	public String getKeyValue() {
		return keyValue;
	}

	public void setKeyValue(String keyValue) {
		this.keyValue = keyValue;
	}

	

}
